import React, { Component } from 'react';
import { Select, Button, Modal, Form } from 'antd';
import './littleModel.css';

// 小模态框
class LittleModel extends Component {
    render() {
        return (
            <Modal
                className="littleModel"
                title={this.props.title}
                visible={this.props.isShow}
                onCancel={this.props.closeModal}
            >
                {
                    this.props.children
                }
            </Modal>
        )
    }
}

export default LittleModel;